<!-- author:夏艳 -->
<%@page import="com.acc.service.impl.UserStandbyServiceImpl"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>欢迎您</title>

<link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="easyui/themes/icon.css">

<script type="text/javascript" src="easyui/jquery.min.js"></script>
<script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="js/test-page.js"></script>
<script type="text/javascript" src="js/order/addorder.js"></script>
<script type="text/javascript">
	$(function(){
		$(":button").on("click",function(){
			

			var depart = $("#startLocation").textbox('getValue');
			var destiny=$("#endLocation").textbox('getValue');
			var time=$("#startTime").datebox('getValue');
				$('#tic').datagrid('load',{
					startLocation: depart,
					endLocation:destiny,
					startTime:time
				});
		
		});
	});

</script>


</head>
<body>
	<span id="m_user">欢迎您${sessionScope.user.userName }</span>
<div id="chead"></div>
<div id="con" >
<form>
<p>出发地：<input type="text" id="startLocation" name="startLocation" class="easyui-textbox"> 
   目的地：<input type="text" id="endLocation" name="endLocation" class="easyui-textbox"> 
 <input class="easyui-datebox" id="startTime" name="startTime" label="出发日期" labelPosition="left" >
	<input type="button" name="button" value="查询" >
</p>
</form>
<div  id="query">
<table id="tic" class="easyui-datagrid"  singleSelect="true"  toolbar="#toolbar" >
   <div id="toolbar">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="addOrder()">购票</a>

    </div>
</table>
</div>

</div>
</body>
</html>